/* CSS layout of the elements. */
body {
	margin: 0;
}

/* Major containers */
.header {
	position: absolute;
	top: 0;
	height: 100px;
  	width: 100%;
	box-shadow: 0px 2px 7px #333;
	-moz-box-shadow: 0px 2px 7px #333;
	-webkit-box-shadow: 0px 2px 7px #333;
	z-index: 2;
}
.content {
	position: absolute;
	top: 100px;
	bottom: 60px;
	width: 100%;
	margin-top: 0px;
	margin-bottom: 0px;
	z-index: 0;
	overflow: auto;
}
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 60px;
	box-shadow: 0px -2px 7px #333;
	-moz-box-shadow: 0px -2px 7px #333;
	-webkit-box-shadow: 0px -2px 7px #333;
	z-index: 2;
}

/* Header styles */
.gcont {
	position: absolute;
	right: 10px;
	bottom: 0px;
}
.gcont li {
	display: inline;
}
.logo {
	position: absolute;
	top: 12px;
	left: 10px;

}
.logo img {
	width: auto;
	height: 70px;
}

/* Footer styles */
.foots {
	width: 100%;
	text-align: center;
	margin-top: 20px;
}

/* Content styles */
.cbox {
	height: 100%;
	width: 550px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
.tweets {
	position: relative;
	min-height: 100%;
	width: 550px;
	box-shadow: 0 0 7px 3px #333;
	z-index: 1;
	float: left;
}
.tcont {
	width: 100%;
	margin: 0;
	height: 110px;
	padding: 0;
	display: block;
}
.tweet {
	margin-left: 15px;
	margin-right: 15px;
	display: block;
	border-bottom: solid 1px #CFCFCF;
  	height: 100px;
	padding-top: 10px;
	position: relative;
}
.lasttweet {
	border-bottom: 0px !important;
}

.username {
	margin-bottom: 2px;
}
.avatar {
	width: 50px;
	height: 50px;
	float: left;
	margin-right: 10px;
	margin-bottom: 5px;
	margin-top: 3px;
	margin-left: 5px;
}

.tbird {
	margin-bottom: -3px;
}

/* Controls */
.controls {
	padding:0px;
	position: absolute;
	top: 65px;
	margin-bottom: 0px;
	width: 100%;
}


.controls li {
	display:inline;
}

.attcontrol {
	position: absolute;
	right: 0px;
	top: 4px;
}

/* Resources */
.resources {
	position: absolute;
	top: 5%;
  	width: 450px;
	min-height: 40px;
	background-color: white;
	border-radius: 10px;
  	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
	float: right;
  	margin-right: 0px;
	box-shadow: 5px 0 7px #333;
	overflow: auto;
	left: 0px;
}
.rtitle {
	margin-top: 15px;
	margin-bottom: 5px;
	margin-left: 15px;
}
.preview {
	margin-top: 15px;
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 10px;
	width: 420px;
	height: auto;
	border-bottom: solid 1px #CFCFCF;
	padding-bottom: 5px;
}
.preview img {
	width: 420px;
	height: auto;
}
.pcon {
	margin-bottom: 5px;
}


/* Miscellaneous */ 
.popmsgcont {
	float: left;
	position: relative;
	left: 50%;
	z-index: 20;
}
.popmsg {
	float: left;
	position: relative;
	left: -50%;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border: 1px solid black;
	border-top: 0px;
	padding-right: 5px;
	padding-left: 5px;
	height: 22px;
	min-width: 50px;
	top: -25px;
	text-align: center;
}
.bmsg {
	width: 450px;
	margin: 20px 20px 10px;
	display: none;
}

/* Tweet 'window' */
.popoverlay
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	display: none;
	background: white;
	opacity: 0.6;
}
.tweetwin {
	position: absolute;
	height: 190px;
	width: 500px;
	top: 50%;
	left: 50%;
	margin-top: -120px;
	margin-left: -250px;
	background: white;
	border-radius: 10px;
	border: 1px solid black;
	background-color: white;
	opacity: 1;
	z-index: 6;
	display: none;
}
form {
	position: relative;
}
#text {
	width: 450px;
	height: 120px;
	margin: 20px 20px 10px;
	overflow: auto;
	font-family: inherit;
}
.twinC {
	 margin-left: 20px; 
	 margin-right: 21px; 
	 text-align: right; 
	 width: 460px; 
	 position: absolute; 
	 bottom: -20px; 
	 right: 3px;
}
#twbutton {
	padding: 4px; 
	border: 1px solid black; 
	margin-left: 5px;
	cursor: pointer;
}